-
Notifications
You must be signed in to change notification settings - Fork 30.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
doc: add differences between Node.js fetch and standard Fetch API #56314
base: main
Are you sure you want to change the base?
Conversation
cc @nodejs/undici |
Multiple linter errors to address |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since fetch
comes from https://github.com/nodejs/undici - can you add the docs to Undici and then link them from the Node docs?
Node.js's `fetch()` implementation is inspired by the Fetch API standard, but it includes several key differences: | ||
|
||
1. **`new Response(asyncIterable)`**: | ||
* Node.js extends the standard `Response` constructor to accept an `asyncIterable` as its body. This allows streams and other async sources to be directly used. This feature is not part of the Fetch API in browsers. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: line wrapping in this file to match the rest please
I am new to world of open source and to much confuse for my first step, can i work on this issue?? |
No description provided.